package com.lifeng.fastssmr.service;

import java.io.IOException;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.lifeng.fastssmr.pojo.Item;

public interface ItemService {
	public void add(Item item);
	public void delete(Item item);
	public Item getById(String id);
	public List<Item> findAll();
	public void addAndSaveFile(Item item,MultipartFile[] picFile) throws IOException, Exception;
	public void getImg(OutputStream out,String id) throws IOException;
	public void deleteFile(String fileId);
}
